package cn.tedu.demo;

import jdk.nashorn.internal.runtime.logging.Logger;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component;

@Component
@Lazy
public class Person {
    public Person() {
        System.out.println("创建Person");
    }

    @Override
    public String toString() {
        return "Tom";
    }
}
